const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  // 关闭eslint检查
  lintOnSave: false,
  devServer: {
    proxy: {
      "/api": {
        target: "http://localhost:8888",
        secure: false, // https的接口
        changeOrigin: true,
        pathRewrite: { "^/api": "" },
      },
    },
  },
});
